import audioPlayer from './audioPlayer/index';
import { Fragment } from 'vue-frag';

const components = [audioPlayer];

const install = function(Vue, _opts = {}) {
  components.forEach((component) => {
    Vue.component(component.name, component);
    Vue.component('Fragment', Fragment);
  });
};

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}
export default {
  audioPlayer
};
